package com.taoyuan.hotel.dao;

import com.taoyuan.hotel.entity.Floor;
import com.taoyuan.hotel.entity.RoomThing;

import java.util.List;

public interface RoomThingDao {
    //新增
    int add(RoomThing roomThing);
    //查询
    List<RoomThing> selectAll();

    //单个删除
    int del(int id);
    //修改编辑
    int update(RoomThing roomThing);
    //查询，带条件 动态sql
    List<RoomThing> selectWhere(String name);
    //批量删除
    int delBatch(int[] ids);
}
